using DevExpress.Xpo.DB;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace WinformDevelopFrame.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("sysdept")]
    public partial class sysdept
    {
        public sysdept()
        {


        }
        /// <summary>
        /// 
        /// </summary>   
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [ModelBindControl("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 上级部门
        /// </summary>   
        [ModelBindControl("PId")]
        public int PId { get; set; }
        /// <summary>
        /// 数据ID
        /// </summary>   
        [ModelBindControl("BId")]
        public int BId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>   
        [ModelBindControl("DeptName")]
        public string DeptName { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>   
        [ModelBindControl("DeptCode")]
        public string DeptCode { get; set; }
        /// <summary>
        /// 部门联系人
        /// </summary>   
        [ModelBindControl("DeptLXRId")]
        public int DeptLXRId { get; set; }
        /// <summary>
        /// 部门负责人
        /// </summary>   
        [ModelBindControl("DeptLeaderId")]
        public int DeptLeaderId { get; set; }
        /// <summary>
        /// 部门地址
        /// </summary>   
        [ModelBindControl("DeptAddress")]
        public string DeptAddress { get; set; }
        /// <summary>
        /// 部门电话
        /// </summary>   
        [ModelBindControl("DeptPhone")]
        public string DeptPhone { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>   
        [ModelBindControl("CreateUserId")]
        public int CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>   
        [ModelBindControl("CreateTime")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>   
        [ModelBindControl("UpdateUserId")]
        public int UpdateUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>   
        [ModelBindControl("UpdateTime")]
        public DateTime UpdateTime { get; set; }
        
    }
}
